#% text_encoding = iso8859_1
:external_name	Supply Point check

:description
Makes several checks on Supply Points:

Checks that the supply point's customer class is reasonable. Generates a warning flag if it has been set to "unknown".

Checks the supply Point's location. Generates an error flag if it has no location geometry or if the Supply Point is not connected to a Cable in the electricity network.

There is no autofix available for any of these issues.


:description_invalid_customer_class
<body>
 <h1>Supply Point Check</h1>
 <h2>Warning</h2>
 <p>
   This #1 has invalid customer class: #2
 </p>
 <h2>Hints</h2>
 <p>
   To resolve this, please set the customer class to a valid value.
 </p>
</body>


:description_no_location_geometry
<body>
 <h1>Supply Point Check</h1>
 <h2>Error</h2>
 <p>
   This #1 has no location geometry
 </p>
 <h2>helpful advice</h2>
 <p>
   To resolve this, either give it a location, or delete it.
 <p>
</body>

:description_not_connected
<body>
 <h1>Supply Point Check</h1>
 <h2>Error</h2>
 <p>
   This #1 is not connected to the electricity network.
 </p>
 <h2>How to fix it</h2>
 <p>
   Connect it or delete it.
 </p>
</body>

:error_description
Supply point location or class inappropriate 

:error_description_unknown_customer_class
Supply point customer class is "Unknown".

:error_description_no_location_geometry
Supply Point has no location geometry.

:error_description_not_connected
Supply Point is not connected to the network
